package com.hy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hy.mapper.SequenceMapper;
import com.hy.pojo.Sequence;
import com.hy.service.SequenceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SequenceServiceImpl extends ServiceImpl<SequenceMapper, Sequence> implements SequenceService {

    @Autowired
    protected SequenceMapper sequenceMapper;

    @Override
    public void truncate() {
        sequenceMapper.truncate();
    }
}
